
#ifndef GRAPHPANEL_H
#define GRAPHPANEL_H

#include "ui_graphpanelwidget.h"

class GraphPanel : public QWidget
{
    Q_OBJECT

public:
    GraphPanel(QWidget *parent = 0);

	bool	addPlot(const QString& name, int size);
	bool	removePlot(const QString& name);
	int		totalPlots();
	Graph*	graph();
	QScrollBar*	scrollX();
	QScrollBar*	scrollY();

protected slots:

	/* Zoom Slider Slots */
	void setGraphSliderX(int minRange, int maxRange, int minCurrent, int maxCurrent);
	void setGraphSliderY(int minRange, int maxRange, int minCurrent, int maxCurrent);

	/* Marker Slots */
	void markerValueChanged(double value, int markerID);
private:
	Ui_GraphPanelWidget ui;
};

#endif

